<!DOCTYPE html>
<html style="" class=" js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers no-applicationcache svg inlinesvg smil svgclippaths"
      lang="en" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>ERP系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <!-- Facebook and Twitter integration -->
    <meta property="og:title" content="">
    <meta property="og:image" content="">
    <meta property="og:url" content="">
    <meta property="og:site_name" content="">
    <meta property="og:description" content="">
    <meta name="twitter:title" content="">
    <meta name="twitter:image" content="">
    <meta name="twitter:url" content="">
    <meta name="twitter:card" content="">

    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet">

    <!-- Animate.css -->
    <link rel="stylesheet" href="/static/css/animate.css">
    <!-- Icomoon Icon Fonts-->
    <link rel="stylesheet" href="/static/css/icomoon.css">
    <!-- Themify Icons-->
    <link rel="stylesheet" href="/static/css/themify-icons.css">
    <!-- Bootstrap  -->
    <link rel="stylesheet" href="/static/css/bootstrap.css">

    <!-- Magnific Popup -->
    <link rel="stylesheet" href="/static/css/magnific-popup.css">

    <!-- Owl Carousel  -->
    <link rel="stylesheet" href="/static/css/owl.carousel.min.css">
    <link rel="stylesheet" href="/static/css/owl.theme.default.min.css">

    <!-- Theme style  -->
    <link rel="stylesheet" href="/static/css/style.css">

    <!-- Modernizr JS -->
    <script src="/static/js/modernizr-2.6.2.min.js"></script>
    <!-- FOR IE9 below -->
    <!--[if lt IE 9]>
    <script src="/static/js/respond.min.js"></script>
    <![endif]-->

</head>
<body>

<div class="gtco-loader" style="display: none;"></div>

<div id="page"><a href="#" class="js-gtco-nav-toggle gtco-nav-toggle gtco-nav-white"><i></i></a><div id="gtco-offcanvas"><ul>
    <li><a href="features.html">Features</a></li>
    <li><a href="tour.html">Tour</a></li>
    <li class="offcanvas-has-dropdown">
        <a href="#">Dropdown</a>
        <ul class="dropdown">
            <li><a href="#">Web Design</a></li>
            <li><a href="#">eCommerce</a></li>
            <li><a href="#">Branding</a></li>
            <li><a href="#">API</a></li>
        </ul>
    </li>
    <li><a href="pricing.html">Pricing</a></li>
    <li><a href="contact.html">Contact</a></li>
    <li class="btn-cta"><a href="#"><span>Get started</span></a></li>
</ul></div>


    <div class="page-inner">
        <nav class="gtco-nav" role="navigation">
            <div class="gtco-container">

                <div class="row">
                    <div class="col-sm-4 col-xs-12">
                        <div id="gtco-logo"><a href="/admin/index">ERP <em>.</em></a></div>
                    </div>
                    <div class="col-xs-8 text-right menu-1">
<!--                        <ul>-->
<!--                            <li><a href="features.html">Features</a></li>-->
<!--                            <li><a href="tour.html">Tour</a></li>-->
<!--                            <li class="has-dropdown">-->
<!--                                <a href="#">Dropdown</a>-->
<!--                                <ul class="dropdown">-->
<!--                                    <li><a href="#">Web Design</a></li>-->
<!--                                    <li><a href="#">eCommerce</a></li>-->
<!--                                    <li><a href="#">Branding</a></li>-->
<!--                                    <li><a href="#">API</a></li>-->
<!--                                </ul>-->
<!--                            </li>-->
<!--                            <li><a href="pricing.html">Pricing</a></li>-->
<!--                            <li><a href="contact.html">Contact</a></li>-->
<!--                            <li class="btn-cta"><a href="#"><span>Get started</span></a></li>-->
<!--                        </ul>-->
                    </div>
                </div>

            </div>
        </nav>

        <header id="gtco-header" class="gtco-cover" role="banner" style="background-image: url(/static/images/erp2.png)">
            <div class="overlay"></div>
            <div class="gtco-container">
                <div class="row">
                    <div class="col-md-12 col-md-offset-0 text-left">


                        <div class="row row-mt-15em">
                            <div class="col-md-7 mt-text animate-box fadeInUp animated-fast" data-animate-effect="fadeInUp">
                                <span class="intro-text-small">Welcome to ERP</span>
                                <h1>Product  computer  using  this  ERP.</h1>
                            </div>
                            <div class="col-md-4 col-md-push-1 animate-box fadeInRight animated-fast" data-animate-effect="fadeInRight">
                                <div class="form-wrap">
                                    <div class="tab">
                                        <ul class="tab-menu">
                                            <li class="gtco-first"><a data-tab="signup">注册</a></li>
                                            <li class="gtco-second active"><a data-tab="login">登录</a></li>
                                        </ul>
                                        <div class="tab-content">
                                            <div class="tab-content-inner" data-content="signup">
                                                <form th:action="@{/admin/regist}" method="post">


                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="name">员工名</label>
                                                            <input type="text" class="form-control" id="name"  th:name="name">
                                                        </div>
                                                    </div>

                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="username">用户名</label>
                                                            <input type="text" class="form-control" id="username"  th:name="username">
                                                        </div>
                                                    </div>
                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="password">密码</label>
                                                            <input type="password" class="form-control" id="password"  th:name="password">
                                                        </div>
                                                    </div>
                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="password2">确认密码</label>
                                                            <input type="password" class="form-control" id="password2"  th:name="password2">
                                                        </div>
                                                    </div>

                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <input type="submit" class="btn btn-primary" value="注册">
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>

                                            <div class="tab-content-inner active" data-content="login">
                                                <form  th:action="@{/admin/login}" method="post">
                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="username">用户名 </label>
                                                            <input type="text" class="form-control" id="usernameNew" th:name="usernameNew">
                                                        </div>
                                                    </div>
                                                    <h5 style="color: red" th:text="${rat}"></h5>
                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <label for="password">密码</label>
                                                            <input type="password" class="form-control" id="passwordNew" th:name="passwordNew">
                                                        </div>
                                                    </div>

                                                    <h5 style="color: red" th:text="${rlt}"></h5>

                                                    <div class="row form-group">
                                                        <div class="col-md-12">
                                                            <input type="submit" class="btn btn-primary" value="登录">
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>



    </div>

</div>

<div class="gototop js-top">
    <a href="#" class="js-gotop"><i class="icon-arrow-up"></i></a>
</div>

<!-- jQuery -->
<script src="/static/js/jquery.min.js"></script>
<!-- jQuery Easing -->
<script src="/static/js/jquery.easing.1.3.js"></script>
<!-- Bootstrap -->
<script src="/static/js/bootstrap.min.js"></script>
<!-- Waypoints -->
<script src="/static/js/jquery.waypoints.min.js"></script>
<!-- Carousel -->
<script src="/static/js/owl.carousel.min.js"></script>
<!-- countTo -->
<script src="/static/js/jquery.countTo.js"></script>
<!-- Magnific Popup -->
<script src="/static/js/jquery.magnific-popup.min.js"></script>
<script src="/static/js/magnific-popup-options.js"></script>
<!-- Main -->
<script src="/static/js/main.js"></script>




</body></html>
